package Code.Final;

public class StudentTest {
    public static void main(String[] args) {

        final Student s = new Student("zhan",14);
        // final修饰的变量是引用类型：那么变量存储的地址值不能发生改变，对象内部的可以改变

        s.setName("王");
        s.setAge(24);
        System.out.println(s.getName()+","+ s.getAge());

        //s = new Student();报错
    }
}
